﻿using Services4KouDai.Models;
using Services4KouDai.Parsers;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Services4KouDai.Services
{
    public class GoodShopListService : IGoodShopListService
    {
        public async Task<ServiceRespInfo> GetGoodShopList(int groupType, string groupId, int limit)
        {
            Dictionary<string, object> body = new Dictionary<string, object>();

            body.Add("groupType", groupType);
            body.Add("groupId", groupId);
            body.Add("limit", limit);

            return await CommonService.ServiceReq(ServiceConstants.GoodShopsList, body, new List<ShopEntity>(), new ShopParser());
        }
    }
}
